<!--
programe:
    js 动态改变html内容
history:
    2014-9-26  liuxu frist release
-->
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script>
    function changeContent(){
        x = document.getElementById("demo");
        x.innerHTML="改变之后的内容";
    }
    
</script>

</head>
<body>
    <p id="demo">html现有的内容</p>
    <button type="button" onclick ="changeContent()">点击</button>
</body>
</html> 
	
